package com.koron.sinoprobe.web.ledger.service;

import com.koron.sinoprobe.web.ledger.bean.entity.SpContractRecord;
import org.koron.ebs.mybatis.SessionFactory;

import java.util.List;

/**
 * @author twcao
 * @title: SpContractRecordRecordService
 * @projectName GDH_EAM_V2
 * @description: 专项项目付款记录
 * @date 2021/12/617:02
 */
public interface SpContractRecordService {

    SpContractRecord queryById(SessionFactory factory, String id);

    List<SpContractRecord> queryList(SessionFactory factory, SpContractRecord query);

    Integer saveOrUpdate(SessionFactory factory, List<SpContractRecord> bean);

    SpContractRecord saveOrUpdate(SessionFactory factory, SpContractRecord bean);

    Boolean deleteById(SessionFactory factory, String id);

    int deleteByContractId(SessionFactory factory, String contractId);
    
}
